<name>Well of Contribution</name>
<profession>A poor man's well</profession>
<dialogue>
  <greeting>
    <reply>
      <text></text>
      <script>
        <sound>well</sound>
      </script>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>Drink from the well.</text>
      <npc>
        <reply>
          <if><gold>20000</gold></if>
          <text>You did good!</text>
          <script>
            <gold>-1000</gold>
            <log>Gave to the Well of Contribution</log>
          </script>
          <return>main</return> 
        </reply>
        <reply>
          <if>
            <gold>!200</gold>
            <key>!wellofContribution</key>
          </if>
          <text>You feel rich!</text>
          <script>
            <gold>1000</gold>
            <key>wellofContribution</key>
            <log>Received from the Well of Contribution</log>
          </script>
          <return>main</return> 
        </reply>
        <reply>
          <text>Refreshing!</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Turn away.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>